package org.zhigong.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Date;

/**
 * Created by Administrator on 2018/3/19 0019.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Chuqin extends BaseEntity {

    private Long ygbh; // 员工编号

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date rq; // 日期

    private String ksrq; // 开始日期

    private String jsrq; // 结束日期

    @JsonFormat(pattern="hh:mm",timezone="GMT+8")
    private Date sbsj; // 上班时间

    @JsonFormat(pattern="hh:mm",timezone="GMT+8")
    private Date xbsj; // 下班时间

    private String xm; // 员工姓名

    private String bz; // 备注

    @Override
    public String toString() {
        return "Chuqin{" +
                "ygbh=" + ygbh +
                ", rq=" + rq +
                ", ksrq=" + ksrq +
                ", jsrq=" + jsrq +
                ", sbsj=" + sbsj +
                ", xbsj=" + xbsj +
                ", bz='" + bz + '\'' +
                '}';
    }

    public Long getYgbh() {
        return ygbh;
    }

    public void setYgbh(Long ygbh) {
        this.ygbh = ygbh;
    }

    public Date getRq() {
        return rq;
    }

    public void setRq(Date rq) {
        this.rq = rq;
    }

    public Date getSbsj() {
        return sbsj;
    }

    public void setSbsj(Date sbsj) {
        this.sbsj = sbsj;
    }

    public Date getXbsj() {
        return xbsj;
    }

    public void setXbsj(Date xbsj) {
        this.xbsj = xbsj;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getKsrq() {
        return ksrq;
    }

    public void setKsrq(String ksrq) {
        this.ksrq = ksrq;
    }

    public String getJsrq() {
        return jsrq;
    }

    public void setJsrq(String jsrq) {
        this.jsrq = jsrq;
    }

    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }
}
